package com.xyq.system.domain.exam.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xyq.system.domain.question.Question;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ExamQuestionListVO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long examId ;
    private String title ;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime ;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime ;
    private List<Question> examQuestionList;
}
